<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class BbsQuestionComment extends Model
{
        use SoftDeletes;

        protected $table="bbs_question_comment";

        protected $primaryKey = 'id';

        protected $fillable = ['id','question_id','user_id','message','reply_id'];

        protected $dates = ['deleted_at'];
        
        public function users()
    {
        return $this->hasOne('App\User','id','user_id');
    }

}


   
